CMPOUT=POS_LT_NEG, CMPRI=NOT_SET, CMPEN=DISABLED, CMPFI=NOT_SET
Module Control
CMPFI | Falling Edge Interrupt Flag. 0 (NOT_SET): No comparator falling edge has occurred since this flag was last cleared. 1 (SET): A comparator falling edge occurred since last flag was cleared. |
CMPRI | Rising Edge Interrupt Flag. 0 (NOT_SET): No comparator rising edge has occurred since this flag was last cleared. 1 (SET): A comparator rising edge occurred since last flag was cleared. |
CMPOUT | Output State. 0 (POS_LT_NEG): Voltage on CMP+ < CMP- (INVEN = 0). 1 (POS_GT_NEG): Voltage on CMP+ > CMP- (INVEN = 0). |
CMPEN | Comparator Enable. 0 (DISABLED): Disable the comparator. 1 (ENABLED): Enable the comparator. |